<?php
declare(strict_types=1);

namespace App\Repositories\Gashapon;

use App\Models\MainDB\Gashapon\IndependentUser as Model;
use App\Traits\Singleton;

class IndependentUserRepository
{
    use Singleton;

    public function getUserPoolType(int $userId)
    {
        $query = Model::query();
        $query->where('user_id', $userId);
        return $query->first();
    }

}